package com.ebt.m.proposal_v2.event;

import com.ebt.m.proposal_v2.ui.view.InsuranceView;
import com.ebt.m.proposal_v2.ui.view.InsuredView;

/**
 * Created by Rick.Wang on 2017/10/23.
 */

public class InsuredChangedEvent {
    public InsuredView insuredView;
    public InsuranceView insuranceView;
    public int type;
    public InsuredChangedEvent(InsuredView insuredView, InsuranceView insuranceView, int type){
        this.insuredView = insuredView;
        this.type = type;
        this.insuranceView = insuranceView;
    }
    public void clearViewRef(){
        insuredView = null;
        insuranceView = null;
    }
}
